public class Test {
    public static void main(String[] args) {
        Dog d = new Dog(2,"黑");
        People p1 = new People("老王",30);
        p1.keepPet(d,"骨头");

        Cat c = new Cat(3,"灰");
        People p2 = new People("老李",25);
        p2.keepPet(c,"鱼");


    }
}
